package com.shared.server.impl;

import com.shared.dao.PGoodsAlbumMapper;
import com.shared.pojo.PGoodsAlbum;
import com.shared.server.PGoodsAalbumServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PGoodsAalbumServerImpl implements PGoodsAalbumServer {
    @Autowired
    private PGoodsAlbumMapper pGoodsAlbumMapper;

    @Override
    public List<PGoodsAlbum> findAlbumByGid(Integer id) {
        return pGoodsAlbumMapper.findAlbumByGid(id);
    }
}
